package com.nbjtjc.safe.mapper.emg;

import com.nbjtjc.safe.model.emg.EmgPlanPublicWriteTarget;
import com.nbjtjc.util.MyMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface EmgPlanPublicWriteTargetMapper extends MyMapper<EmgPlanPublicWriteTarget> {
    @Select("select * from emg_plan_public_write_target where plan_public_id=#{planPublicId}")
    List<EmgPlanPublicWriteTarget> findByPlanPublicId(@Param("planPublicId") int planPublicId);
}